package org.van.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.van.blog.dto.AttAchDto;
import org.van.blog.model.AttAchDomain;

@Mapper
public interface AttAchDao {
    void addAttAch(AttAchDomain attAchDomain);

    List<AttAchDto> getAtts();

    Long getAttAchCount();

    AttAchDto getAttAchById(@Param("id") Integer id);

    void deleteAttAch(@Param("id") Integer id);
}
